separator: call gtk_style_context_restore() after drawing
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 7 Apr 2011 19:21:51 +0000 (15:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 9 Apr 2011 00:33:59 +0000 (20:33 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=647086

gtk/gtkseparator.c

index 66c18889f9c1ad8dd8705bcfe07c521c36194a4e..013247a6c7f19b51783f1073e685875362380618 100644 (file)
@@ -266,6 +266,8 @@ gtk_separator_draw (GtkWidget *widget,
                          (width - padding.left) / 2, height - 1);
     }
 
+  gtk_style_context_restore (context);
+
   return FALSE;
 }